package _17作业._抽象类t2;

public class Cook extends Person{
    public Cook() {
    }

    public Cook(String id, String name, double salary) {
        super(id, name, salary);
    }

    @Override
    public String work() {
        return "厨师在工作，炒菜";
    }

    @Override
    public String eat() {
        return  "厨师在吃肉";
    }
}
